package com.cet.base;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;

/**
 * @program: cet-practice
 * @description: LocalDate、LocalDateTime、Timestamp以及Date之间转化
 * @author: 陈恩涛
 * @create: 2022-12-13 17:43
 **/
public class LocalDateTimeTest {
    public static void main(String[] args) {
        System.out.println(LocalDateTime.of(LocalDate.now(), LocalTime.MIN));
        System.out.println(LocalDateTime.of(LocalDate.now().minusDays(1), LocalTime.MIN));
    }
}
